Micron Document
Livres et Wikis | Archives | Info


JavaScript syntax
part 1/43 Β· 161.3 KB total
layout: Wide Β· Narrow Β· Centered
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
The syntax of JavaScript is the set of rules that define a correctly
structured JavaScript program.

The examples below make use of the console.log() function present in
most browsers for standard text output.

The JavaScript standard library lacks an official standard text output
function (with the exception of document.write). Given that JavaScript
is mainly used for client-side scripting within modern web browsers, and
that almost all Web browsers provide the alert function, alert can also
be used, but is not commonly used.

Contents

β€’ Origins
β€’ Basics
β€’ Comments
β€’ Variables
β€’ Examples
β€’ Undefined
β€’ Number
β€’ BigInt
β€’ String
β€’ Boolean
β€’ Type conversion
β€’ Symbol
β€’ Array
β€’ Date
β€’ Error
β€’ Math
β€’ Function
β€’ Operators
β€’ Arithmetic
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────